package org.edu.service.impl.manage;

import org.edu.bean.TmPersoninfo;
import org.edu.common.BaseDao;
import org.edu.service.manage.PersonManageService;
import org.springframework.stereotype.Service;
@Service
public class PersonManageServiceImpl extends BaseDao<TmPersoninfo>
		implements PersonManageService {

	public void deletePerson(TmPersoninfo personinfo) {
		hibernateTemplate.delete(personinfo);
	}

	public void updatePerson(TmPersoninfo personinfo) {
		hibernateTemplate.update(personinfo);
		hibernateTemplate.flush();
	}

}
